PDF Plugin for Xojo

Font.FontEncodingEnum Enum

Enum that represents font encodings. PDF font encodings are tricky. If you want to support broad range of languages in your application then we recommend using Automatic here in most cases and setting up fallbacks handler like we show in one of the example projects.

enum Font.FontEncodingEnum

Constants

MAC_ROMAN = 0MacRoman encoding.
WINDOWS_ANSI = 1Windows ansi encoding.
ISO8859_2 = 2ISOLatin2 encoding.
ISO8859_3 = 3ISOLatin3 encoding
ISO8859_4 = 4ISOLatin4 encoding
ISO8859_5 = 5ISOLatinCyrillic encoding
ISO8859_6 = 6ISOLatinArabic encoding.
ISO8859_7 = 7ISOLatinGreek encoding.
ISO8859_8 = 8ISOLatinHebrew encoding.
ISO8859_9 = 9ISOLatin5 encoding.
ISO8859_10 = 10ISOLatin6 encoding
ISO8859_13 = 13ISOLatin7 encoding
ISO8859_14 = 14ISOLatin8 encoding.
ISO8859_15 = 15ISOLatin9 encoding
CP1250 = 25WindowsLatin2 encoding
CP1251 = 26WindowsCyrillic encoding
CP1252 = 27WindowsANSI encoding
CP1253 = 28WindowsGreek encoding
CP1254 = 29WindowsLatin5 encoding
CP1255 = 30WindowsHebrew encoding
CP1256 = 31WindowsArabic encoding
CP1257 = 32WindowsBalticRim encoding
CP1258 = 33WindowsVietnamese encoding
KOI8_R = 40Russian internet standard encoding.
AUTOMATIC = 100The plugin will attempt to detect what encoding is best suited for your text to fit into the PDF encodings. And if it cannot find good match then the fallback handler is called. (See one of the example projects to see how this is done)